package com.example.book_system.model;

public enum ResultStatus {
    SUCCESS(200),
    FAIL(-1),
    UNLOGIN(0)
    ;
    private Integer code;

    private ResultStatus(Integer code) {
        this.code = code;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }
}
